<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>响应式依赖收集</title>
</head>

<body>
    <div id="app">
        {{name}}
        <p></p>
        <h1>
            <span>{{name}}</span>
        </h1>
        <input type="text" value="100"/>
    </div>
</body>
<script src="js/react.js" type="text/javascript"></script>
<script>
    JBDE.createApp("#app", {
        data() {
            return {
                name: "刘海斌"
            }
        }
    })
</script>

</html>